<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: pcl::segmentation::detail::RandomWalker&lt; Graph, EdgeWeightMap, VertexColorMap &gt; 模板类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classpcl_1_1segmentation_1_1detail_1_1_random_walker.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="classpcl_1_1segmentation_1_1detail_1_1_random_walker-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">pcl::segmentation::detail::RandomWalker&lt; Graph, EdgeWeightMap, VertexColorMap &gt; 模板类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>Multilabel graph segmentation using random walks.  
 <a href="classpcl_1_1segmentation_1_1detail_1_1_random_walker.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="random__walker_8hpp_source.html">random_walker.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:aa3eb3ea35bf1c6dc70e9b4a84eda82c5"><td class="memItemLeft" align="right" valign="top"><a id="aa3eb3ea35bf1c6dc70e9b4a84eda82c5"></a>
typedef boost::property_traits&lt; VertexColorMap &gt;::value_type&#160;</td><td class="memItemRight" valign="bottom"><b>Color</b></td></tr>
<tr class="separator:aa3eb3ea35bf1c6dc70e9b4a84eda82c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f7370a63ba256536b17e454270fcb3f"><td class="memItemLeft" align="right" valign="top"><a id="a9f7370a63ba256536b17e454270fcb3f"></a>
typedef boost::property_traits&lt; EdgeWeightMap &gt;::value_type&#160;</td><td class="memItemRight" valign="bottom"><b>Weight</b></td></tr>
<tr class="separator:a9f7370a63ba256536b17e454270fcb3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e21cf7b882148c4da0ea12e6cef77c5"><td class="memItemLeft" align="right" valign="top"><a id="a1e21cf7b882148c4da0ea12e6cef77c5"></a>
typedef boost::graph_traits&lt; Graph &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>GraphTraits</b></td></tr>
<tr class="separator:a1e21cf7b882148c4da0ea12e6cef77c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a8d0c16dcafc4d8f1c0268afe2dddb4"><td class="memItemLeft" align="right" valign="top"><a id="a2a8d0c16dcafc4d8f1c0268afe2dddb4"></a>
typedef GraphTraits::edge_descriptor&#160;</td><td class="memItemRight" valign="bottom"><b>EdgeDescriptor</b></td></tr>
<tr class="separator:a2a8d0c16dcafc4d8f1c0268afe2dddb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaec5755eb7c7495188d118bc48047d53"><td class="memItemLeft" align="right" valign="top"><a id="aaec5755eb7c7495188d118bc48047d53"></a>
typedef GraphTraits::vertex_descriptor&#160;</td><td class="memItemRight" valign="bottom"><b>VertexDescriptor</b></td></tr>
<tr class="separator:aaec5755eb7c7495188d118bc48047d53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6fc252b534716a255ae88d3b15784a2d"><td class="memItemLeft" align="right" valign="top"><a id="a6fc252b534716a255ae88d3b15784a2d"></a>
typedef GraphTraits::edge_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>EdgeIterator</b></td></tr>
<tr class="separator:a6fc252b534716a255ae88d3b15784a2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5525caff280877b681bfd13a1441d14e"><td class="memItemLeft" align="right" valign="top"><a id="a5525caff280877b681bfd13a1441d14e"></a>
typedef GraphTraits::out_edge_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>OutEdgeIterator</b></td></tr>
<tr class="separator:a5525caff280877b681bfd13a1441d14e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2343ee44111e3e51d2130d7b9c4919f0"><td class="memItemLeft" align="right" valign="top"><a id="a2343ee44111e3e51d2130d7b9c4919f0"></a>
typedef GraphTraits::vertex_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>VertexIterator</b></td></tr>
<tr class="separator:a2343ee44111e3e51d2130d7b9c4919f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1f425f04fe4ebdbe55ea8cb6d4fb5b8"><td class="memItemLeft" align="right" valign="top"><a id="ad1f425f04fe4ebdbe55ea8cb6d4fb5b8"></a>
typedef boost::property_map&lt; Graph, boost::vertex_index_t &gt;::type&#160;</td><td class="memItemRight" valign="bottom"><b>VertexIndexMap</b></td></tr>
<tr class="separator:ad1f425f04fe4ebdbe55ea8cb6d4fb5b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32a18651223fdeaafba0ccbe8929255d"><td class="memItemLeft" align="right" valign="top"><a id="a32a18651223fdeaafba0ccbe8929255d"></a>
typedef boost::iterator_property_map&lt; typename std::vector&lt; Weight &gt;::iterator, VertexIndexMap &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>VertexDegreeMap</b></td></tr>
<tr class="separator:a32a18651223fdeaafba0ccbe8929255d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa718b5b868b228efa89f25146c5ccf9c"><td class="memItemLeft" align="right" valign="top"><a id="aa718b5b868b228efa89f25146c5ccf9c"></a>
typedef Eigen::SparseMatrix&lt; Weight &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>SparseMatrix</b></td></tr>
<tr class="separator:aa718b5b868b228efa89f25146c5ccf9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e220f0d4f526e6828cb12ec814f3dfa"><td class="memItemLeft" align="right" valign="top"><a id="a7e220f0d4f526e6828cb12ec814f3dfa"></a>
typedef Eigen::Matrix&lt; Weight, Eigen::Dynamic, Eigen::Dynamic &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Matrix</b></td></tr>
<tr class="separator:a7e220f0d4f526e6828cb12ec814f3dfa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a689dfae9a4d9bf0cf4ee6428dfe572a9"><td class="memItemLeft" align="right" valign="top"><a id="a689dfae9a4d9bf0cf4ee6428dfe572a9"></a>
typedef Eigen::Matrix&lt; Weight, Eigen::Dynamic, 1 &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Vector</b></td></tr>
<tr class="separator:a689dfae9a4d9bf0cf4ee6428dfe572a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a1a47518397b6f6c82b2224f94488d675"><td class="memItemLeft" align="right" valign="top"><a id="a1a47518397b6f6c82b2224f94488d675"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>RandomWalker</b> (Graph &amp;g, EdgeWeightMap weights, VertexColorMap colors)</td></tr>
<tr class="separator:a1a47518397b6f6c82b2224f94488d675"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea3ff77116674816d3d036e6417e7e6f"><td class="memItemLeft" align="right" valign="top"><a id="aea3ff77116674816d3d036e6417e7e6f"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>segment</b> ()</td></tr>
<tr class="separator:aea3ff77116674816d3d036e6417e7e6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00b7e30e693957b36589c3fd2d477b48"><td class="memItemLeft" align="right" valign="top"><a id="a00b7e30e693957b36589c3fd2d477b48"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>computeVertexDegrees</b> ()</td></tr>
<tr class="separator:a00b7e30e693957b36589c3fd2d477b48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b57a785923b939b7717d3ab214179e5"><td class="memItemLeft" align="right" valign="top"><a id="a1b57a785923b939b7717d3ab214179e5"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>buildLinearSystem</b> ()</td></tr>
<tr class="separator:a1b57a785923b939b7717d3ab214179e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4aa4757c6538f01658362081ced4e9ba"><td class="memItemLeft" align="right" valign="top"><a id="a4aa4757c6538f01658362081ced4e9ba"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>solveLinearSystem</b> ()</td></tr>
<tr class="separator:a4aa4757c6538f01658362081ced4e9ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb0e9ead2f2f23e7050dfa6c0cc2eb16"><td class="memItemLeft" align="right" valign="top"><a id="abb0e9ead2f2f23e7050dfa6c0cc2eb16"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>assignColors</b> ()</td></tr>
<tr class="separator:abb0e9ead2f2f23e7050dfa6c0cc2eb16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8a31343a05ddb63f3a4dc378f388b19"><td class="memItemLeft" align="right" valign="top"><a id="aa8a31343a05ddb63f3a4dc378f388b19"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>getPotentials</b> (Matrix &amp;potentials, std::map&lt; Color, size_t &gt; &amp;color_to_column_map)</td></tr>
<tr class="separator:aa8a31343a05ddb63f3a4dc378f388b19"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a1b2edd89538195dcdcba4da038c78ad4"><td class="memTemplParams" colspan="2"><a id="a1b2edd89538195dcdcba4da038c78ad4"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:a1b2edd89538195dcdcba4da038c78ad4"><td class="memTemplItemLeft" align="right" valign="top">static size_t&#160;</td><td class="memTemplItemRight" valign="bottom"><b>insertInBimap</b> (boost::bimap&lt; size_t, T &gt; &amp;bimap, T value)</td></tr>
<tr class="separator:a1b2edd89538195dcdcba4da038c78ad4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:a323bb145ef16408413eea29de34fe0e6"><td class="memItemLeft" align="right" valign="top"><a id="a323bb145ef16408413eea29de34fe0e6"></a>
Graph &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>g_</b></td></tr>
<tr class="separator:a323bb145ef16408413eea29de34fe0e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9fdd4af42c1ae644255db10baa2a8af8"><td class="memItemLeft" align="right" valign="top"><a id="a9fdd4af42c1ae644255db10baa2a8af8"></a>
EdgeWeightMap&#160;</td><td class="memItemRight" valign="bottom"><b>weight_map_</b></td></tr>
<tr class="separator:a9fdd4af42c1ae644255db10baa2a8af8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ff74c1d3f38b31c9afa53531a6ca869"><td class="memItemLeft" align="right" valign="top"><a id="a5ff74c1d3f38b31c9afa53531a6ca869"></a>
VertexColorMap&#160;</td><td class="memItemRight" valign="bottom"><b>color_map_</b></td></tr>
<tr class="separator:a5ff74c1d3f38b31c9afa53531a6ca869"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4bdea09880d9ee596075c3ae6fb2e890"><td class="memItemLeft" align="right" valign="top"><a id="a4bdea09880d9ee596075c3ae6fb2e890"></a>
VertexIndexMap&#160;</td><td class="memItemRight" valign="bottom"><b>index_map_</b></td></tr>
<tr class="separator:a4bdea09880d9ee596075c3ae6fb2e890"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28de2b521d576924bc0138736a12f6f6"><td class="memItemLeft" align="right" valign="top"><a id="a28de2b521d576924bc0138736a12f6f6"></a>
std::vector&lt; VertexDescriptor &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>seeds_</b></td></tr>
<tr class="separator:a28de2b521d576924bc0138736a12f6f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa75a285cbd3954dd875381ccf4d7eb2a"><td class="memItemLeft" align="right" valign="top"><a id="aa75a285cbd3954dd875381ccf4d7eb2a"></a>
std::set&lt; Color &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>colors_</b></td></tr>
<tr class="separator:aa75a285cbd3954dd875381ccf4d7eb2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a903d78b9ac24950c1251cabe221ee09b"><td class="memItemLeft" align="right" valign="top"><a id="a903d78b9ac24950c1251cabe221ee09b"></a>
std::vector&lt; Weight &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>degree_storage_</b></td></tr>
<tr class="separator:a903d78b9ac24950c1251cabe221ee09b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8cc5fa2db976d67a7189fd87372b1ff"><td class="memItemLeft" align="right" valign="top"><a id="aa8cc5fa2db976d67a7189fd87372b1ff"></a>
VertexDegreeMap&#160;</td><td class="memItemRight" valign="bottom"><b>degree_map_</b></td></tr>
<tr class="separator:aa8cc5fa2db976d67a7189fd87372b1ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33c1e31a0596d5bcb04933c483b754f2"><td class="memItemLeft" align="right" valign="top"><a id="a33c1e31a0596d5bcb04933c483b754f2"></a>
SparseMatrix&#160;</td><td class="memItemRight" valign="bottom"><b>L</b></td></tr>
<tr class="separator:a33c1e31a0596d5bcb04933c483b754f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d9e0db74d141566a144f307af53390e"><td class="memItemLeft" align="right" valign="top"><a id="a0d9e0db74d141566a144f307af53390e"></a>
SparseMatrix&#160;</td><td class="memItemRight" valign="bottom"><b>B</b></td></tr>
<tr class="separator:a0d9e0db74d141566a144f307af53390e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7160aefbed07613551a41837361d1e6c"><td class="memItemLeft" align="right" valign="top"><a id="a7160aefbed07613551a41837361d1e6c"></a>
Matrix&#160;</td><td class="memItemRight" valign="bottom"><b>X</b></td></tr>
<tr class="separator:a7160aefbed07613551a41837361d1e6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bc56959491cf36101e390fe1a401365"><td class="memItemLeft" align="right" valign="top"><a id="a5bc56959491cf36101e390fe1a401365"></a>
boost::bimap&lt; size_t, VertexDescriptor &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>L_vertex_bimap</b></td></tr>
<tr class="separator:a5bc56959491cf36101e390fe1a401365"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77333abd6ff414d317f30a2332b6a04f"><td class="memItemLeft" align="right" valign="top"><a id="a77333abd6ff414d317f30a2332b6a04f"></a>
boost::bimap&lt; size_t, Color &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>B_color_bimap</b></td></tr>
<tr class="separator:a77333abd6ff414d317f30a2332b6a04f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><h3>template&lt;class Graph, class EdgeWeightMap, class VertexColorMap&gt;<br />
class pcl::segmentation::detail::RandomWalker&lt; Graph, EdgeWeightMap, VertexColorMap &gt;</h3>

<p>Multilabel graph segmentation using random walks. </p>
<p>This is an implementation of the algorithm described in "Random Walks
for Image Segmentation" by Leo Grady.</p>
<p>See the documentation of the randomWalker() function for details.</p>
<dl class="section author"><dt>作者</dt><dd>Sergey Alexandrov </dd></dl>
</div><hr/>该类的文档由以下文件生成:<ul>
<li>segmentation/include/pcl/segmentation/impl/<a class="el" href="random__walker_8hpp_source.html">random_walker.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>pcl</b></li><li class="navelem"><b>segmentation</b></li><li class="navelem"><b>detail</b></li><li class="navelem"><a class="el" href="classpcl_1_1segmentation_1_1detail_1_1_random_walker.html">RandomWalker</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
